home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / net / netns / ipv6.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  1.4 KB  |  60 lines

  1. /*
  2.  * ipv6 in net namespaces
  3.  */
  4.  
  5. #include <net/inet_frag.h>
  6.  
  7. #ifndef __NETNS_IPV6_H__
  8. #define __NETNS_IPV6_H__
  9.  
  10. struct ctl_table_header;
  11.  
  12. struct netns_sysctl_ipv6 {
  13. #ifdef CONFIG_SYSCTL
  14.     struct ctl_table_header *table;
  15.     struct ctl_table_header *frags_hdr;
  16. #endif
  17.     int bindv6only;
  18.     int flush_delay;
  19.     int ip6_rt_max_size;
  20.     int ip6_rt_gc_min_interval;
  21.     int ip6_rt_gc_timeout;
  22.     int ip6_rt_gc_interval;
  23.     int ip6_rt_gc_elasticity;
  24.     int ip6_rt_mtu_expires;
  25.     int ip6_rt_min_advmss;
  26.     int icmpv6_time;
  27. };
  28.  
  29. struct netns_ipv6 {
  30.     struct netns_sysctl_ipv6 sysctl;
  31.     struct ipv6_devconf    *devconf_all;
  32.     struct ipv6_devconf    *devconf_dflt;
  33.     struct netns_frags    frags;
  34. #ifdef CONFIG_NETFILTER
  35.     struct xt_table        *ip6table_filter;
  36.     struct xt_table        *ip6table_mangle;
  37.     struct xt_table        *ip6table_raw;
  38.     struct xt_table        *ip6table_security;
  39. #endif
  40.     struct rt6_info         *ip6_null_entry;
  41.     struct rt6_statistics   *rt6_stats;
  42.     struct timer_list       ip6_fib_timer;
  43.     struct hlist_head       *fib_table_hash;
  44.     struct fib6_table       *fib6_main_tbl;
  45.     struct dst_ops        *ip6_dst_ops;
  46.     unsigned int         ip6_rt_gc_expire;
  47.     unsigned long         ip6_rt_last_gc;
  48. #ifdef CONFIG_IPV6_MULTIPLE_TABLES
  49.     struct rt6_info         *ip6_prohibit_entry;
  50.     struct rt6_info         *ip6_blk_hole_entry;
  51.     struct fib6_table       *fib6_local_tbl;
  52.     struct fib_rules_ops    *fib6_rules_ops;
  53. #endif
  54.     struct sock        **icmp_sk;
  55.     struct sock             *ndisc_sk;
  56.     struct sock             *tcp_sk;
  57.     struct sock             *igmp_sk;
  58. };
  59. #endif
  60.